<?php
// +----------------------------------------------------------------------
// | 跃飞 [ 将来的你一定会感激现在奋斗的自己 ]
// +----------------------------------------------------------------------
// | Author: 钟贵廷
// +----------------------------------------------------------------------
// | Author URI: https://git.oschina.net/yeafy
// +----------------------------------------------------------------------
// | weChat:gt845272922  qq:845272922
// +----------------------------------------------------------------------

namespace app\yeafy\factoryMethod\demo1;

/**
 * 描述:步兵
 * @author 钟贵廷
 * @WeChat gt845272922
 * @qq 845272922
 * Class Infantry
 * @package app\yeafy\factoryMethod\demo1
 */
class Infantry implements ISoldier
{
    public function attack()
    {
        echo '步兵进攻，攻击力：10~ <br/>';
    }

}